﻿@if(Request.IsAuthenticated) {  
    <span><i>欢迎</i>,@ViewBag.Name &nbsp;&nbsp;<a class="LogOut" href="@Url.Action("LogOff", "Account")">[注销]</a> </span>
}
else
{
    <span><a class=LogOut href="@Url.Action("LogOn", "Account")">[登录]</a></span>
}